package com.ai.service.made;

import com.ai.common.CommonResponse;
import com.ai.entity.made.CoalMaintenanceAlarmRecordInfo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jiaok
 * @since 2024-10-30
 */
public interface ICoalMaintenanceAlarmRecordInfoService extends IService<CoalMaintenanceAlarmRecordInfo> {

    /**
     * 获取指定检修告警的所有详细告警信息
     * @param maintenanceAlarmRecordId 检修告警id
     * @return
     */
    CommonResponse maintenanceInfo(String maintenanceAlarmRecordId);

    /**
     * 获取最后的检测时间
     * @param id
     * @return
     */
    String getFinalMaintenanceDate(String id);
}
